'use strict';

var React = require('react');
var Router = require('react-router'); 
var RouteHandler = Router.RouteHandler;
var Tab = require('../modules/tab.jsx');


var DataViewComponent = React.createClass({
  render: function() {
    var  tabkey =[
          {name:'数据统计',to:'DataTabOne', parent : 'data'}
    ];
    return (
      /* jshint ignore:start */
      	     <div>
                      <Tab data={tabkey}></Tab>
                      <RouteHandler {...this.props} />
             </div>
      /* jshint ignore:end */
    );
  }
});

module.exports = DataViewComponent;